#pragma once
#include "src/common/common.h"

__device__ void affine_project_device_kernel(tools::AffineMatrix* dst2src,int dst_x,int dst_y, float* cal_src_x,float* cal_src_y);
__global__  void cuda_resize_padding_nhwc2nchw_normlize(unsigned char* input_src_device,int src_volume,int src_w,int src_h,float* resize_dst,
                                                int dst_volume,int dst_area,int dst_w,int dst_h,tools::AffineMatrix dst2src,int batch_size,float pad_value);

void launch_cuda_resize_padding_nhwc2nchw_normlize(tools::Param param, unsigned char* intput_src_device,float* resize_dst,const tools::AffineMatrix dst2src);
